class Pagecont < ActiveRecord::Base
     validates :name, :length => {:within => 3..30}
     validates :title, :length => {:within => 3..30}
     validates :header, :length => {:within => 0..50}
     validates :keywords, :length => {:within => 3..50}
     validates :description, :length => {:within => 3..150}
     validates :content, :length => {:within => 0..50000}
     
end
